
          		<div class="poll">
          		  <p class="judulpoll5">Poll Result for:</p>
          		  <p class=" judulpoll droid" ><?php if (isset($nama_tema)) echo $nama_tema?></p>
          		  <p>List of Participating Class —<?php if (isset($jumlah_course))  echo $jumlah_course;?> Totals</p>
                                        <?php
                                            if ((!empty($list_course))&&(count($list_course)>0)){
                                                echo "
                                                        <p id='page'>Page: ";
                                                    for ($i=1;$i<=$tab;$i++){
                                                        echo "<a href='".base_url()."polling/polling_con/polling_topic/".$id_tema.'/'.$i."'>".$i."</a>
                                                        ";
                                                    }
                                                echo '</p>';
                                            }
                                        ?>
				</div>
				<div class="clear"></div>
				<div class="bagbawah">
                  <table border="0" cellpadding="0" cellspacing="0" id="polltable">
                    <tr class="thpoll">
                      <th colspan="2" class="droid">Class Name:</th>
                      <th class="tdpoll droid">Respondent:</th>
                    </tr>
                    <?php
                        if (isset($list_course)){
                            for ($i=0;$i<count($list_course);$i++) {
                                if (isset($list_course[$i]['jumlah_responden'])){ //&& ($list_course[$i]['jumlah_responden']>0)){
                                echo "<tr>
                                  <td>".$list_course[$i]['KODE_PELATIHAN']."</td>
                                  <td><a href='".base_url()."polling/polling_con/hasil_specific_topic/".$id_tema."/".$list_course[$i]['KODE_PELATIHAN']."'>".$list_course[$i]['NAMA_PELATIHAN']."</a></td>
                                  <td class='tdpoll'>";
                                    echo $list_course[$i]['jumlah_responden']." Respondens"; //else echo "0 Responden";
                                   echo "</td>
                                </tr>";
                                }
                            }
                        }
                    ?>
                  </table>
				</div><!-- end div class bagbawah -->  
			